<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>XLoader</title>
<script src="../XLoader.js"></script>
<script>
loader.config({
    baseUrl: '.',
    debug: true
});
</script>
</head>
<body>
<div id="demo"></div>

<script>
using(['foo'], function(Foo){
    Foo();
})
</script>
</body>
</html>